home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource for Source: Visual Basic
/
Resource for Source - Visual Basic.iso
/
tools
/
generic.exe
/
GENERAPP.FRM
< prev
next >
Wrap
Text File
|
1993-06-02
|
2KB
|
75 lines
VERSION 2.00
Begin Form Form1
Caption = "Form1"
ClientHeight = 1845
ClientLeft = 1095
ClientTop = 1485
ClientWidth = 3000
Height = 2250
Left = 1035
LinkTopic = "Form1"
ScaleHeight = 1845
ScaleWidth = 3000
Top = 1140
Width = 3120
Begin CommandButton Command1
Caption = "Return Length of Text1.Text"
Height = 375
Left = 105
TabIndex = 2
Top = 1290
Width = 2760
End
Begin TextBox Text1
Height = 405
Left = 120
TabIndex = 0
Text = "sample text"
Top = 150
Width = 2385
End
Begin Generic Generic1
BooleanValue = 0 'False
EnumValue = 0 'Dasher
IntegerValue = 0
Left = 2445
LongValue = 0
StringValue = ""
Top = 690
End
Begin Label Label2
FontBold = -1 'True
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 9.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 435
Left = 1290
TabIndex = 3
Top = 630
Width = 795
End
Begin Label Label1
Caption = "Length is:"
FontBold = -1 'True
FontItalic = 0 'False
FontName = "MS Sans Serif"
FontSize = 9.75
FontStrikethru = 0 'False
FontUnderline = 0 'False
Height = 390
Left = 75
TabIndex = 1
Top = 645
Width = 1050
End
End
Sub Command1_Click ()
Generic1.StringValue = Text1.Text
Generic1.Action = 1
Label2.Caption = Generic1.IntegerValue
End Sub